Building a Query

There are two types of queries discussed here: